POV-Ray : Newsgroups : povray.general : How is does the bounding work? : How is does the bounding work? Server Time
19 Nov 2024 07:26:18 EST (-0500)
  How is does the bounding work?  
From: Ari-Matti Leppanen
Date: 11 Apr 2002 16:46:47
Message: <3cb5f637$1@news.povray.org>
If you make a simple and pointless merge like

merge{
  box { -1, 1  }
  sphere { y, 1 }
  bounded_by { cylinder { -y, 2*y, sqrt(2)} }
}

and trace it:
-------------------------------------------------
Box               957             504     52.66
Cone/Cylinder     957             957    100.00
CSG Merge         957             684     71.47
Sphere            957             448     46.81
Bounding Object   957             957    100.00
Bounding Box    78450            1914      2.44
-------------------------------------------------
the stats show intersection tests against a bounding object and a bounding
box. Why the bbox when the shape is already bounded manually?

Ari-Matti


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.